package net.jxtz.jxtzos.entity.spider;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author lmh
 * @version 1.0
 * @date 2021-09-14 09:57
 */

@Data
@EqualsAndHashCode(callSuper = true, exclude = {"id", "createTime"})
public class SpiderXinjianInSaleHousing extends SpiderXinjianHousing implements Serializable {

    @ExcelIgnore
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ExcelProperty("开发商")
    private String devCompany;

    @ExcelProperty("项目名称")
    private String projectName;

    @ExcelProperty("项目坐落")
    private String projectAreaName;

    @ExcelProperty("在售住宅")
    private String inSaleHousing;

    @ExcelProperty("在售其他")
    private String inSaleOther;

    @ExcelProperty("在售总面积")
    private String inSaleArea;

    @ExcelIgnore
    private Long spiderLogId;

    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private Integer createTime;

}
